package com.cpp.pojo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
//id          int auto_increment comment '学科'
//primary key,
//name        varchar(255)                        null comment '学科名称',
//description text                                null comment '学科描述'
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Subject {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String subjectName;
    private String description;
}
